<section class="content-header">
	<h1>
		{{title}}<small></small>
	</h1>
</section>
<section class="content">
	<div class="box box-default">
		<div class="col-md-12">
			<div class="box-body" ng-controller="goodscomment">
				<alertdanger></alertdanger>
				<alertsuccess></alertsuccess>
				<form role="form" >
					<div class="box-body">
						<div class="form-group">
							<label>商品ID</label> <input maxlength="20" required="required" ng-model="goodsid"
								class="form-control" type="text" placeholder="请输入商品ID" value="">
						</div>
						<div class="form-group">
							<label>标题</label> <input maxlength="20" required="required" ng-model="commenttitle"
								class="form-control" type="text" placeholder="请输入标题" value="">
						</div>
						<div class="form-group">
							<label>评论内容</label> <input maxlength="20" required="required" ng-model="commentcontent"
								class="form-control" type="text" placeholder="请输入评论内容" value="">
						</div>
						<div class="form-group">
							<label>评论价值</label> <input maxlength="20" required="required" ng-model="score"
								class="form-control" type="text" placeholder="请输入评论价值" value="">
						</div>
						<!-- <div class="form-group">
							<label>评论类型</label>
							<div class="control">
								<label> <input type="radio" ng-model="replyorcomment" ng-value="1"
									class="flat-red" ng-checked="true">商品的评论&nbsp;&nbsp;&nbsp;
								</label> <label> <input type="radio" ng-model="replyorcomment" ng-value="2"
									class="flat-red">回复的评论&nbsp;&nbsp;&nbsp;
								</label>
							</div>
						</div> -->
						<div class="form-group">
							<label>是否邮件提醒</label>
							<div class="control">
								<label> <input type="radio" ng-model="emailable" ng-value="0"
									class="flat-red" ng-checked="true">默认行为&nbsp;&nbsp;&nbsp;
								</label> <label> <input type="radio" ng-model="emailable" ng-value="1"
									class="flat-red">邮件提醒&nbsp;&nbsp;&nbsp;
								</label> <label> <input type="radio" ng-model="emailable" ng-value="2"
									class="flat-red">站内提醒
								</label>
							</div>
						</div>
						<div class="form-group">
							<label>虚拟增加</label>
							<div class="control">
								<label> <input type="radio" ng-model="virtualadd" ng-value="0"
									class="flat-red" ng-checked="true">不是&nbsp;&nbsp;&nbsp;
								</label> <label> <input type="radio" ng-model="virtualadd" ng-value="1"
									class="flat-red">是&nbsp;&nbsp;&nbsp;
								</label>
							</div>
						</div>
						<div class="form-group">
		                    <label>
		                      <input type="radio" ng-model="status" ng-value="1" class="flat-red" ng-checked="true">
		                      启用
		                    </label>
		                    <label>
		                      <input type="radio"  ng-model="status" ng-value="0" class="flat-red">
		                      禁用
		                    </label>
		               
	                  	</div>
					</div>
					<div class="box-footer">
						<button ng-show="savebtn.show"type="button" class="btn btn-primary" ng-click="save();">保存</button>
						<button ng-show="updatebtn.show" type="button" class="btn btn-primary" ng-click="update();">更新</button>
					</div>
				</form>
			</div>
		</div>
		<div class="box-footer"></div>
	</div>
</section>